package com.ruoyi.project.system.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 【请填写功能名称】对象 zz_customer_order
 * 
 * @author ruoyi
 * @date 2020-10-28
 */
public class ZzCustomerOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户订单id */
    private Integer customerOrderId;

    /** 订单地址 */
    @Excel(name = "订单地址")
    private String customerOrderAddress;

    /** 下单时间 */
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date customerOrderStartDatetime;

    /** 客户id */
    @Excel(name = "客户id")
    private Integer customerId;


    //多表查询添加信息
    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;
    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer customerOrderItemNumber;
    /** 商品单位 */
    @Excel(name = "商品单位")
    private String productUnit;
    /** 商品价格 */
    @Excel(name = "商品价格")
    private Integer productPrice;



    public Integer getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Integer productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getCustomerOrderItemNumber() {
        return customerOrderItemNumber;
    }

    public void setCustomerOrderItemNumber(Integer customerOrderItemNumber) {
        this.customerOrderItemNumber = customerOrderItemNumber;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    /** 总价 */
    @Excel(name = "总价")
    private Integer customerOrderTotalPrice;

    /** 期望到货时间 */
    @Excel(name = "期望到货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date customerOrderExpectArrivalDatetime;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String customerOrderStatus;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String customerOrderDr;

    public void setCustomerOrderId(Integer customerOrderId) 
    {
        this.customerOrderId = customerOrderId;
    }

    public Integer getCustomerOrderId() 
    {
        return customerOrderId;
    }
    public void setCustomerOrderAddress(String customerOrderAddress) 
    {
        this.customerOrderAddress = customerOrderAddress;
    }

    public String getCustomerOrderAddress() 
    {
        return customerOrderAddress;
    }
    public void setCustomerOrderStartDatetime(Date customerOrderStartDatetime) 
    {
        this.customerOrderStartDatetime = customerOrderStartDatetime;
    }

    public Date getCustomerOrderStartDatetime() 
    {
        return customerOrderStartDatetime;
    }
    public void setCustomerId(Integer customerId) 
    {
        this.customerId = customerId;
    }

    public Integer getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerOrderTotalPrice(Integer customerOrderTotalPrice) 
    {
        this.customerOrderTotalPrice = customerOrderTotalPrice;
    }

    public Integer getCustomerOrderTotalPrice() 
    {
        return customerOrderTotalPrice;
    }
    public void setCustomerOrderExpectArrivalDatetime(Date customerOrderExpectArrivalDatetime) 
    {
        this.customerOrderExpectArrivalDatetime = customerOrderExpectArrivalDatetime;
    }

    public Date getCustomerOrderExpectArrivalDatetime() 
    {
        return customerOrderExpectArrivalDatetime;
    }
    public void setCustomerOrderStatus(String customerOrderStatus) 
    {
        this.customerOrderStatus = customerOrderStatus;
    }

    public String getCustomerOrderStatus() 
    {
        return customerOrderStatus;
    }
    public void setCustomerOrderDr(String customerOrderDr) 
    {
        this.customerOrderDr = customerOrderDr;
    }

    public String getCustomerOrderDr() 
    {
        return customerOrderDr;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerOrderId", getCustomerOrderId())
            .append("customerOrderAddress", getCustomerOrderAddress())
            .append("customerOrderStartDatetime", getCustomerOrderStartDatetime())
            .append("customerId", getCustomerId())
            .append("productName", getProductName())
            .append("customerOrderItemNumber", getCustomerOrderItemNumber())
            .append("productUnit", getProductUnit())
            .append("productPrice", getProductPrice())
            .append("customerOrderTotalPrice", getCustomerOrderTotalPrice())
            .append("customerOrderExpectArrivalDatetime", getCustomerOrderExpectArrivalDatetime())
            .append("customerOrderStatus", getCustomerOrderStatus())
            .toString();
    }
}
